package du.myseckill.dto;

import lombok.Data;

@Data
public class Login {
    private boolean login;
    private String info;
    private long phone;
    private long userId;

    public Login(boolean login, String info, long userId, long phone) {
        this.login = login;
        this.info = info;
        this.phone = phone;
        this.userId = userId;
    }

    public Login(boolean login, String info, long phone) {
        this.login = login;
        this.info = info;
        this.phone = phone;
    }

    public Login(boolean login, String info) {
        this.login = login;
        this.info = info;
    }

    public boolean isLogin() {
        return login;
    }

    public long getPhone() {
        return phone;
    }

    public void setPhone(long phone) {
        this.phone = phone;
    }

    public void setLogin(boolean login) {
        this.login = login;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }


}

